package org.jeecg.modules.xl.order.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 发货商品表
 * @Author: jeecg-boot
 * @Date:   2024-10-27
 * @Version: V1.0
 */
@ApiModel(value="xl_customer_shipment_detail对象", description="发货商品表")
@Data
@TableName("xl_customer_shipment_detail")
public class XlCustomerShipmentDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**发货单号*/
    @ApiModelProperty(value = "发货单号")
    private String shipmentCode;
	/**订单单号*/
	@Excel(name = "订单单号", width = 15)
    @ApiModelProperty(value = "订单单号")
    private String orderCode;
	/**订单商品id*/
	@Excel(name = "订单商品id", width = 15)
    @ApiModelProperty(value = "订单商品id")
    private String orderDetailId;




    /**商品名称*/
    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    @TableField(exist = false)
    private String productName;
    /**产品价格*/
    @Excel(name = "产品价格", width = 15)
    @ApiModelProperty(value = "产品价格")
    @TableField(exist = false)
    private java.math.BigDecimal productPrice;
    /**订单数量*/
    @Excel(name = "订单数量", width = 15)
    @ApiModelProperty(value = "订单数量")
    @TableField(exist = false)
    private java.math.BigDecimal orderQuantity;
    /**订单金额*/
    @Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    @TableField(exist = false)
    private java.math.BigDecimal orderAmount;



	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**租户号*/
	@Excel(name = "租户号", width = 15)
    @ApiModelProperty(value = "租户号")
    private String tenantId;
}
